#!/bin/sh

cd /wwwroot/prod/target/blog

git pull origin master

go build -o /wwwroot/prod/target/blog-prod /wwwroot/prod/target/blog/main.go

echo "build success!"

/bin/bash /wwwroot/prod/deploy/blog-startup-prod.sh
